package 注解开发.main.java.com.itheima.config;

//import org.springframework.context.annotation.ComponentScan;
//import org.springframework.context.annotation.Configuration;

//声明当前类为Spring配置类，替换掉初始的applicationContext.xml
//@Configuration
//设置bean扫描路径，多个路径书写为字符串数组格式
//这里替换的是        <context:component-scan base-package="com.itheima"/>
//此时就可以删除applicationContext.xml配置类了
//@ComponentScan({"com.itheima.service","com.itheima.dao"})
public class SpringConfig {
}
